package com.rabbiter.service.Impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.rabbiter.entity.ApprovalSteps;
import java.util.List;
import com.rabbiter.mapper.ApprovalStepsMapper;
import com.rabbiter.service.ApprovalStepsService;
@Service
public class ApprovalStepsServiceImpl implements ApprovalStepsService{

    @Resource
    private ApprovalStepsMapper approvalStepsMapper;

    @Override
    public int deleteByPrimaryKey(Integer stepId) {
        return approvalStepsMapper.deleteByPrimaryKey(stepId);
    }

    @Override
    public int insert(ApprovalSteps record) {
        return approvalStepsMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(ApprovalSteps record) {
        return approvalStepsMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(ApprovalSteps record) {
        return approvalStepsMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(ApprovalSteps record) {
        return approvalStepsMapper.insertSelective(record);
    }

    @Override
    public ApprovalSteps selectByPrimaryKey(Integer stepId) {
        return approvalStepsMapper.selectByPrimaryKey(stepId);
    }

    @Override
    public int updateByPrimaryKeySelective(ApprovalSteps record) {
        return approvalStepsMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ApprovalSteps record) {
        return approvalStepsMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<ApprovalSteps> list) {
        return approvalStepsMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<ApprovalSteps> list) {
        return approvalStepsMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<ApprovalSteps> list) {
        return approvalStepsMapper.batchInsert(list);
    }

}
